﻿using OrderMicroService.Domain.Domain.Entity;
using OrderMicroService.Types.DTO;
using OrderMicroService.Types.Types;

namespace OrderMicroService.Domain.Repository
{
    public interface IOrderRepository : IRepository<Order, OrderId>
    {
        int Count(OrderQuery query);

        Page<Order> Query(OrderQuery query);
    }
}